import Vue from 'vue'
import Router from 'vue-router'
import home from 'components/home/home'
import shop from 'components/shop/index'
import shoplist from 'components/shop/list'
import food from 'components/food/index'
import wode from 'components/wode/index'
Vue.use(Router)
export default new Router({
  routes: [
  	 {
      path: '/',
      name: 'root',
      redirect: "/home",
    },
    {
      path: '/home',
      name: 'home',
      component: home,
      
    },
    {
      path: '/shop/:id/:title',
      name: 'shop',
      component: shop,
    },
    {
      path: '/food',
      name: 'food',
      component: food,
    },
    {
      path: '/wode',
      name: 'wode',
      component: wode,
    }
  ]
})
